import request from '@/utils/request';

//获取用户协议or隐私协议更新
export function updatePrivacyPolicy(data) {
  return request({
    url: '/dev-api/api/systerm/updatePrivacyPolicy',
    method: 'post',
    data: data,
  });
}

//获取用户协议or隐私协议
export function getPrivacyPolicy(data) {
  return request({
    url: '/dev-api/api/systerm/getPrivacyPolicy',
    method: 'post',
    data: data,
  });
}